<template>
	<a-config-provider :csp="{ nonce: 'YourNonceCode' }"
	    :locale="zhCN">
		<router-view/>
	</a-config-provider>
</template>

<script>
import moment from 'moment'
import zhCN from 'ant-design-vue/es/locale/zh_CN'
// import enUS from 'ant-design-vue/es/locale/en_US';
moment.locale('zh-cn')

export default {
	name: 'App',
	setup(props, { attrs, slots, emit }) {
		return {
			zhCN
		}
	},
	data() {
		return {}
	},
	beforeCreate() {},
	created() {},
	mounted() {},
	methods: {
		init() {}
	},
	beforeUnmount() {}
}
</script>


<style lang="less">
@import 'assets/css/base.css';
@import 'assets/css/base.less';
@import 'assets/icon/iconfont.css';

//自定义字体
@import 'assets/font/index.css';

//ant库样式
@import 'ant-design-vue/dist/antd.less';

//自定义全局样式
@import 'assets/css/ant_global.less';

#app {
	font-family: 'Avenir', Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	// color: #ffffff;
	// background: #17232f;
	width: 100%;
	height: 100%;
}
</style>
